
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="theme-color" content="#A0DAD0"><!--设置移动端Chrome浏览器HeaderBar颜色-->
    <meta name="apple-mobile-web-app-title" content="ztcaoll222的博客"><!--iOS添加到主屏后的标题-->
    <meta name="apple-mobile-web-app-capable" content="yes"/><!--iOS强制全屏-->
    <meta name="renderer" content="webkit"><!--强制让360浏览器使用极速模式(Chrome内核模式)-->
    <title itemprop="name">未找到页面 | ztcaoll222的博客    </title>
        <link rel='dns-prefetch' href='//cdn.bootcss.com' />
<link rel='stylesheet' id='akina-style-css'  href='https://ztcaoll222.cn/wp-content/themes/AkinaPro/style.css?ver=4.7.1' type='text/css' media='all' />
<link rel='stylesheet' id='prismCSS-css'  href='https://ztcaoll222.cn/wp-content/themes/AkinaPro/prism/prism.css?ver=4.7.1' type='text/css' media='all' />
<script type='text/javascript' src='https://ztcaoll222.cn/wp-content/themes/AkinaPro/prism/prism.js?ver=4.7.1'></script>
    <style type="text/css">
        
        
        
                .post-squares {
            display: none !important
        }

        
        
                @media (max-width: 860px) {
            .author-profile {
                display: block;
            }
        }

        
        
                .notice {
            display: none !important
        }

        
        
                #centerbg {
            background-image: url(https://ztcaoll222.cn/wp-content/uploads/2017/01/1iP1dozVO8I.jpg)
        }
        
        
                @media (max-width: 1280px) {
            #centerbg {
                display: block !important;
            }
        }
        .headertop {
            position: relative;
            overflow: hidden;
            margin-top: -60px;
        }
        
                @media (max-width: 1280px) {
            #centerbg_single {
                display: block !important;
            }

            .entry-title-info a:active, .entry-title-info a:hover, .entry-title-info a:link, .entry-title-info a:visited {
                color: #000;
            }

            #centerbg_single {
                height: 350px;
            }

            .header-info_single {
                font-size: 12px;
                margin-top: 45px;
            }

            header.entry-header {
                display: none;
            }
        }

        
        
        .reward {
            border: 1px solid #A0DAD0 !important;
            background: #A0DAD0 !important;
        }

        ::selection, #topMenu.menu_close .i_1, #topMenu.menu_close .i_2, .ar-time i, .iconflat {
            background: #A0DAD0 !important;
        }

        .foverlay:hover, .back2top, .comment-checkbox-radio:checked + .comment-checkbox-radioInput:after {
            background: #A0DAD0 !important;
        }

        .site-main input[type=submit],.post-entry input[type=submit],.comment-respond input[type=submit] {
            background: #A0DAD0;
        }

        .post-more i, .author-profile i, .sub-text, #pagination a:hover, .post-footer-lincenses a, .lower ul li a:hover, .post-like a, .sitename, .akina_one .akina_one_time {
            color: #A0DAD0;
        }

        .feature i, .feature-title span, .download, .navigator i:hover, .links ul li:before, span.ar-circle, .object, .instantclick-bar {
            background: #A0DAD0 !important;
        }

        .download, .navigator i:hover, .link-title, .links ul li:hover, #pagination a:hover,#crumbs {
            border-color: #A0DAD0 !important;
        }

        .entry-content a:hover, .site-info a:hover, .comment h4 a:hover, .entry-title a:hover, #archives-temp h3, span.page-numbers.current, .sorry li a:hover, .site-title a:hover {
            color: #A0DAD0 !important;
        }

        
        
    </style>
        <style>
        html,body{
            margin:0;
            padding: 0;
        }
        .content{
            width: 600px;
            margin:200px auto;
        }
        a,a:hover{
            text-decoration: none;
        }
        /*
         Solarized Color Schemes originally by Ethan Schoonover
         http://ethanschoonover.com/solarized

         Ported for PrismJS by Hector Matos
         Website: https://krakendev.io
         Twitter Handle: https://twitter.com/allonsykraken)
        */

        /*
        SOLARIZED HEX
        --------- -------
        base03    #002b36
        base02    #073642
        base01    #586e75
        base00    #657b83
        base0     #839496
        base1     #93a1a1
        base2     #eee8d5
        base3     #fdf6e3
        yellow    #b58900
        orange    #cb4b16
        red       #dc322f
        magenta   #d33682
        violet    #6c71c4
        blue      #268bd2
        cyan      #2aa198
        green     #859900
        */

        code,
        pre {
            color: #657b83; /* base00 */
            font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
            text-align: left;
            white-space: pre-wrap;
            word-spacing: normal;
            word-break: normal;
            word-wrap: normal;
            background: inherit;
            line-height: 1.5;
            text-shadow: none;
            -moz-tab-size: 4;
            -o-tab-size: 4;
            tab-size: 4;

            -webkit-hyphens: none;
            -moz-hyphens: none;
            -ms-hyphens: none;
            hyphens: none;
        }

        pre::-moz-selection, pre ::-moz-selection,
        code::-moz-selection, code ::-moz-selection {
            background: #073642; /* base02 */
        }

        pre::selection, pre ::selection,
        code::selection, code ::selection {
            background: #073642; /* base02 */
        }

        /* Code blocks */
        pre {
            padding: 1em;
            margin: .5em 0;
            overflow: auto;
            border-radius: 0.3em;
        }

        /* Solarized Green */
        .keyword {
            color: #859900;
        }

        /* Solarized Cyan */
        .number,
        .string {
            color: #2aa198;
        }

        /* Solarized Blue */
        .title,
        .name{
            color: #268bd2;
        }
        a,a:visited,.link {
            color: #cb4b16;
        }

        /* Solarized Red */
        .built_in {
            color: #dc322f;
        }

        @media only screen and (max-width: 500px) {
            .content{
                width: 90%
            }
        }

        pre:before {
            content: normal;
        }

        pre:after {
            content: normal;
        }


    </style>
</head>
<body class="error404 logged-in hfeed">
<div class="content">
<pre><code>
<span class="function"><span class="keyword">function</span> <span class="title">errorHandler</span>(<span
            class="params">req</span>)</span>{
  <span class="keyword">if</span> (req.status == <span class="number">404</span>) {
    <span class="built_in">console</span>.log(<span class="string">"Page not found"</span>);
    <span class="built_in">window</span>.location.href = <span class="link"><a href="https://ztcaoll222.cn">'https://ztcaoll222.cn'</a></span>;
  }
}
</code></pre>
</div>
</body>
